package com.itheima.service.mongo;

import com.itheima.domain.mongo.UserTimes;
import com.itheima.domain.mongo.Voice;

import java.util.List;

public interface VoiceService {
    //发送语音
    void sendVoice(Voice voice);

    //获取语音
    List<Voice> receiveVoice();

    //查询剩余次数
    UserTimes findTimesById(Long useId);
}
